#include "core/task.h"

namespace core {
	Task::Task(unsigned int flags):
		mTaskFlags(flags)
	{
	}

	Task::~Task() {
	}

	void Task::setTaskFlags(unsigned int newFlags) {
		mTaskFlags = newFlags;
	}

	unsigned int Task::getTaskFlags() const {
		return mTaskFlags;
	}

	Task::TaskBeginning::TaskBeginning(Task::TaskPtr t):
		mTask(t)
	{
	}

	Task::TaskCompleted::TaskCompleted(Task::TaskPtr t):
		mTask(t)
	{
	}
}
